// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base/palette' as *;

.item {
  padding: 1em 0;
  margin-bottom: 0.3em;

  .header {
    font-size: 18px;
    line-height: 1.2;
  }

  .description {
    padding-top: 0.7em;
    margin-bottom: 0 !important; // `.conference-page .description` sets 1em
    font-size: 13px;
    font-style: italic;
    color: $black;

    :global(.item) {
      padding: 0.1em 0;
    }
  }

  :global(.description) {
    margin-bottom: 0 !important; // `.conference-page .description` sets 1em
  }

  .summary {
    margin-bottom: 0.5em;
    padding-left: 1em;
    color: $light-black;
  }

  .description ul {
    display: inline;
    margin: 0;
    padding: 0;
  }

  .description li {
    display: inline;

    &:not(:first-of-type)::before {
      content: ', ';
    }

    &:nth-of-type(1n + 4) {
      display: none;
    }
  }

  .muted {
    color: $dark-gray;
  }

  em {
    background-color: rgba($indico-blue, 0.3);
  }

  :global(.ui.breadcrumb a.section) {
    color: $indico-blue;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}
